package com.shaw.study.springx.beans;

/**
 * Created by asus on 2018/4/29.
 */
public class BeanDefinition {
    private String beanClassName;

    private String factoryBeanName;

    private boolean lazyInit=false;

    private boolean singleton=true;

    public String getFactoryBeanName() {
        return factoryBeanName;
    }

    public void setFactoryBeanName(String factoryBeanName) {
        this.factoryBeanName = factoryBeanName;
    }



    public String getBeanClassName() {
        return beanClassName;
    }

    public void setBeanClassName(String beanClassName) {
        this.beanClassName = beanClassName;
    }

    public void setLazyInit(boolean lazyInit){
        this.lazyInit = lazyInit;
    }

    public boolean isLazyInit(){
        return this.lazyInit;
    }

    public void setSingleton(boolean singleton){
        this.singleton = singleton;
    }

    public boolean isSingleton(){
        return this.singleton;
    }
}
